﻿using Furion.DataEncryption;
using Furion.DependencyInjection;
using System.Collections.Generic;

namespace Project2.Application
{
    public class SystemService : ISystemService, ITransient
    {
        public string GetDescription()
        {
            return "让 .NET 开发更简单，更通用，更流行。";
        }
        public string GetJwt()
        {
            return JWTEncryption.Encrypt(new Dictionary<string, object>()
            {
                { "UserId", 1 },  // 存储Id
                { "Account",1 }, // 存储用户名
            });
        }
    }
}